package com.zmn.oms.dubbo.interfaces.normal.master;

import com.zmn.common.dto2.ResponseDTO;
import com.zmn.oms.common.dro.normal.master.MasterPartInfoDRO;
import com.zmn.oms.common.dro.normal.master.MasterOrderPartInfoDRO;
import com.zmn.oms.common.dro.normal.master.OrderPartDetailDRO;

/**
 * @author sunlife
 * @date:2021/7/29 3:04 下午
 * description: 师傅配件费信息
 */
public interface MasterPartListRemoteService {

    /**
     * 获取师傅本月配件信息
     * @param masterId 师傅ID
     * @return 配件信息
     */
    ResponseDTO<MasterPartInfoDRO> getMasterPartInfo(Integer masterId);

    /**
     * 获取师傅配件列表信息
     * @param masterId
     * @param type
     * @return
     */
    ResponseDTO<MasterOrderPartInfoDRO> listMonthPartInfo(Integer masterId, String date, Integer type);

    /**
     * 获取师傅配件列表信息
     * @param orderId
     * @return
     */
    ResponseDTO<OrderPartDetailDRO> getOrderPartDetail(Long orderId);
}
